import cv2
import math

# 100 x 100
img = cv2.imread("./img/base.png")

cv2.circle(img,(50,50),50,color=(0,0,0),thickness=2)
# 秒针
cv2.line(img,(50,50),(50,10),color=(0,0,255),thickness=2)
# 分针
cv2.line(img,(50,50),(80,50),color=(0,255,0),thickness=3)
# 时针
x = int(math.cos(30 / 180 * math.pi) * 20 + 50)
y = int(math.sin(30 / 180 * math.pi) * 20 + 50)
cv2.line(img,(50,50),(x,y),color=(255,0,0),thickness=4)

cv2.imshow("img",img)
cv2.waitKey(0)